﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000267 RID: 615
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueNousDiceUpdateNotify : IMessage<ChessRogueNousDiceUpdateNotify>, IMessage, IEquatable<ChessRogueNousDiceUpdateNotify>, IDeepCloneable<ChessRogueNousDiceUpdateNotify>, IBufferMessage
	{
		// Token: 0x1700081C RID: 2076
		// (get) Token: 0x06001BB4 RID: 7092 RVA: 0x0004FCB3 File Offset: 0x0004DEB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueNousDiceUpdateNotify> Parser
		{
			get
			{
				return ChessRogueNousDiceUpdateNotify._parser;
			}
		}

		// Token: 0x1700081D RID: 2077
		// (get) Token: 0x06001BB5 RID: 7093 RVA: 0x0004FCBA File Offset: 0x0004DEBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueNousDiceUpdateNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700081E RID: 2078
		// (get) Token: 0x06001BB6 RID: 7094 RVA: 0x0004FCCC File Offset: 0x0004DECC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueNousDiceUpdateNotify.Descriptor;
			}
		}

		// Token: 0x06001BB7 RID: 7095 RVA: 0x0004FCD3 File Offset: 0x0004DED3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousDiceUpdateNotify()
		{
		}

		// Token: 0x06001BB8 RID: 7096 RVA: 0x0004FCDB File Offset: 0x0004DEDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousDiceUpdateNotify(ChessRogueNousDiceUpdateNotify other) : this()
		{
			this.jMECCGMNMLG_ = ((other.jMECCGMNMLG_ != null) ? other.jMECCGMNMLG_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001BB9 RID: 7097 RVA: 0x0004FD10 File Offset: 0x0004DF10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueNousDiceUpdateNotify Clone()
		{
			return new ChessRogueNousDiceUpdateNotify(this);
		}

		// Token: 0x1700081F RID: 2079
		// (get) Token: 0x06001BBA RID: 7098 RVA: 0x0004FD18 File Offset: 0x0004DF18
		// (set) Token: 0x06001BBB RID: 7099 RVA: 0x0004FD20 File Offset: 0x0004DF20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryDiceInfo JMECCGMNMLG
		{
			get
			{
				return this.jMECCGMNMLG_;
			}
			set
			{
				this.jMECCGMNMLG_ = value;
			}
		}

		// Token: 0x06001BBC RID: 7100 RVA: 0x0004FD29 File Offset: 0x0004DF29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueNousDiceUpdateNotify);
		}

		// Token: 0x06001BBD RID: 7101 RVA: 0x0004FD37 File Offset: 0x0004DF37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueNousDiceUpdateNotify other)
		{
			return other != null && (other == this || (object.Equals(this.JMECCGMNMLG, other.JMECCGMNMLG) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001BBE RID: 7102 RVA: 0x0004FD6C File Offset: 0x0004DF6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.jMECCGMNMLG_ != null)
			{
				num ^= this.JMECCGMNMLG.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001BBF RID: 7103 RVA: 0x0004FDA8 File Offset: 0x0004DFA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001BC0 RID: 7104 RVA: 0x0004FDB0 File Offset: 0x0004DFB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001BC1 RID: 7105 RVA: 0x0004FDB9 File Offset: 0x0004DFB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.jMECCGMNMLG_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.JMECCGMNMLG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001BC2 RID: 7106 RVA: 0x0004FDEC File Offset: 0x0004DFEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.jMECCGMNMLG_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.JMECCGMNMLG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001BC3 RID: 7107 RVA: 0x0004FE2C File Offset: 0x0004E02C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueNousDiceUpdateNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.jMECCGMNMLG_ != null)
			{
				if (this.jMECCGMNMLG_ == null)
				{
					this.JMECCGMNMLG = new ChessRogueQueryDiceInfo();
				}
				this.JMECCGMNMLG.MergeFrom(other.JMECCGMNMLG);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001BC4 RID: 7108 RVA: 0x0004FE80 File Offset: 0x0004E080
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001BC5 RID: 7109 RVA: 0x0004FE8C File Offset: 0x0004E08C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 122U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.jMECCGMNMLG_ == null)
					{
						this.JMECCGMNMLG = new ChessRogueQueryDiceInfo();
					}
					input.ReadMessage(this.JMECCGMNMLG);
				}
			}
		}

		// Token: 0x04000B97 RID: 2967
		private static readonly MessageParser<ChessRogueNousDiceUpdateNotify> _parser = new MessageParser<ChessRogueNousDiceUpdateNotify>(() => new ChessRogueNousDiceUpdateNotify());

		// Token: 0x04000B98 RID: 2968
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000B99 RID: 2969
		public const int JMECCGMNMLGFieldNumber = 15;

		// Token: 0x04000B9A RID: 2970
		private ChessRogueQueryDiceInfo jMECCGMNMLG_;
	}
}
